package crp.extensions.xjtu.sso.models;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class XJTUUserType {
    private static final String STUDENT = "1";
    private static final String FACULTY = "2";
    private String userType;
    private String memberNumber;
    private String userid;

    public boolean isFaculty() {
        return FACULTY.equals(userType);
    }

    public boolean isStudent() {
        return STUDENT.equals(userType);
    }
}
